<template>
  <div class="bb-bg">
    <div class="co-title">
      <div class="co-title-name">
        <img src="@/assets/cockpit/subdivision/co-text-zxgh.png" alt="" />
      </div>
      <!-- <div class="co-title-right">
        <div class="co-title-breathe"><i></i><i></i><i></i><i></i><i></i><i></i></div>
      </div> -->
    </div>
    <div class="bpl-container">
      <div class="bb4-main">
        <ul class="bb4-list">
          <li class="bb4-l-each">
            <div class="bb4-le-sub bb4-le-sub1">
              <div class="bb4-leb-light"></div>
              <div class="bb4-leb-tri"></div>
              <div class="bb4-leb-word">
                <p>12</p>
                <h6>平方米</h6>
              </div>
            </div>
            <div class="bb4-le-sup bb4-le-sup1">人均应急避难所面积</div>
          </li>
          <li class="bb4-l-each">
            <div class="bb4-le-sub bb4-le-sub2">
              <div class="bb4-leb-light"></div>
              <div class="bb4-leb-tri"></div>
              <div class="bb4-leb-word">
                <p>412</p>
                <h6>千瓦时/人年</h6>
              </div>
            </div>
            <div class="bb4-le-sup bb4-le-sup1">人均年用电量</div>
          </li>
          <li class="bb4-l-each">
            <div class="bb4-le-sub bb4-le-sub1">
              <div class="bb4-leb-light"></div>
              <div class="bb4-leb-tri"></div>
              <div class="bb4-leb-word">
                <p>326</p>
                <h6>公里</h6>
              </div>
            </div>
            <div class="bb4-le-sup bb4-le-sup2">综合管廊长度</div>
          </li>
          <li class="bb4-l-each">
            <div class="bb4-le-sub bb4-le-sub3">
              <div class="bb4-leb-light"></div>
              <div class="bb4-leb-tri"></div>
              <div class="bb4-leb-word">
                <p>36,542</p>
                <h6>亿立方米</h6>
              </div>
            </div>
            <div class="bb4-le-sup bb4-le-sup2">用水总量</div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'

@Component({
  name: 'Special',
  components: {}
})
export default class Special extends Vue {
  mounted() {}
}
</script>
<style lang="scss" scoped>
@import '~@/styles/cockpit.scss';
.bb-bg {
  width: 100%;
  height: 100%;
  padding: 22px 12px 8px;
  background: url('~@/assets/cockpit/bb-bg.png') no-repeat 0/ 100% 100%;
  .bpl-container {
    padding-top: 8px;
    overflow-x: hidden;
  }
}
.bb4-main {
  width: 100%;
  position: relative;
  z-index: 1;
}

.bb4-list {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin-top: 20px;
  .bb4-l-each {
    flex: 1;
    position: relative;
    .bb4-le-sup1 {
      width: 100%;
      height: 20px;
      font-size: 12px !important;
      line-height: 16px;
      color: #dffeff;
      text-align: center;
      margin-top: 7px;
    }
    .bb4-le-sup2 {
      width: 100%;
      height: 34px;
      font-size: 12px !important;
      line-height: 17px;
      color: #dffeff;
      text-align: center;
      margin-top: 7px;
    }
    .bb4-le-sub {
      width: 94px;
      height: 114px;
      position: relative;
      margin: 0 auto;
      .bb4-leb-light {
        width: 142px;
        height: 98px;
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 5;
        animation: bbLight ease 2s infinite;
      }
      .bb4-leb-tri {
        width: 20px;
        height: 10px;
        background: url('~@/assets/cockpit/bb4-leb-tri.png') no-repeat 0/ 100% 100%;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 5;
        animation: bbTri ease 2s infinite;
      }

      .bb4-leb-word {
        width: 100%;
        position: absolute;
        left: 0;
        top: 44px;
        z-index: 10;
        > p {
          font-size: 22px !important;
          text-align: center;
          color: #fff;
          text-shadow: 0 0 4px #fff;
        }
        > h6 {
          font-size: 12px;
          text-align: center;
          color: #fff;
          margin-top: 4px;
        }
      }
    }
    .bb4-le-sub1 {
      background: url('~@/assets/cockpit/bb4-le-sub1.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light1.png') no-repeat 0/ 100% 100%;
      }
    }
    .bb4-le-sub2 {
      background: url('~@/assets/cockpit/bb4-le-sub2.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light2.png') no-repeat 0/ 100% 100%;
      }
    }
    .bb4-le-sub3 {
      background: url('~@/assets/cockpit/bb4-le-sub3.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light3.png') no-repeat 0/ 100% 100%;
      }
    }
  }
}
@keyframes bbLight {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bbTri {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -5px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}
</style>
